package com.example.village.service;

import com.example.village.entity.NeighbourhoodEntity;
import com.example.village.entityVO.UserVO;

import java.util.List;

public interface NeighbourhoodService {

    List<NeighbourhoodEntity> queryByDim(String word);

    List<NeighbourhoodEntity> selectByParam(NeighbourhoodEntity neighbourhoodEntity);

    boolean insert(NeighbourhoodEntity neighbourhoodEntity);

    boolean update(NeighbourhoodEntity neighbourhoodEntity);

    boolean delete(Integer id);

    boolean deleteMore(List<Integer> ids);

    List<UserVO> querySelect();

    NeighbourhoodEntity queryById(Integer id);

    List<UserVO> querySelectByParam(String param);
}
